package com.pig4cloud.pig.bzg.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pig.bzg.entity.WzNoticeAnnouncementEntity;
import com.pig4cloud.pig.bzg.mapper.WzNoticeAnnouncementMapper;
import com.pig4cloud.pig.bzg.service.WzNoticeAnnouncementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 通知公告表
 *
 * @author pig
 * @date 2025-07-30 09:35:17
 */
@Service
public class WzNoticeAnnouncementServiceImpl extends ServiceImpl<WzNoticeAnnouncementMapper, WzNoticeAnnouncementEntity> implements WzNoticeAnnouncementService {
	@Autowired
	private WzNoticeAnnouncementMapper wzNoticeAnnouncementMapper;
	@Override
	public IPage<WzNoticeAnnouncementEntity> selectWzNoticeAnnouncementList(Page page, WzNoticeAnnouncementEntity entity) {
		return wzNoticeAnnouncementMapper.selectWzNoticeAnnouncementList(page,
				entity.getTitle(), entity.getCreateBy());
	}
}